﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FasterThanLightEngine
{
    public class Point3D
    {
        public double X
        {
            get;
            set;
        }

        public double Y
        {
            get;
            set;
        }

        public double Z
        {
            get;
            set;
        }

        public Point3D()
        { }

        public Point3D(double x, double y, double z)
        {
            this.X = x;
            this.Y = y;
            this.Z = z;
        }

        public Point3D(Point3D other)
        {
            this.X = other.X;
            this.Y = other.Y;
            this.Z = other.Z;
        }

        // TODO: point Add(vector other)
        // TODO: vector DisplacementTo(point other)

        public override string ToString()
        {
            return "(" + this.X + ", " + this.Y + ", " + this.Z + ")";
        }
    }
}
